MailPoet\Segments\WP S

Total Complexity 50
Dependencies 21
Dependents 8
Total lines 342
Lines of code 246
Logical lines of code 128
Comment lines 46
Methods 13
Properties 7

Methods 13

Method Rating Maintainability Complexity Lines of code
createOrUpdateSubscriber()
C
33 31 86
insertSubscribers()
S
49 4 34
synchronizeUser()
S
61 3 12
removeUpdatedSubscribersWithInvalidEmail()
S
62 2 12
synchronizeUsers()
S
58 1 17
deleteSubscriber()
S
71 2 6
updateSubscribersEmails()
S
59 1 15
updateFirstNames()
S
64 1 12
updateLastNames()
S
64 1 12
updateFirstNameIfMissing()
S
65 1 11
__construct()
S
65 1 9
insertUsersToSegment()
S
65 1 10
removeOrphanedSubscribers()
S
63 1 10